from flask import Blueprint
from app.api.v2 import user, category, banner, token


def create_blueprint_v2():
    bp_v2 = Blueprint('v2', __name__)

    user.api.register(bp_v2)
    category.api.register(bp_v2)
    banner.api.register(bp_v2)
    token.api.register(bp_v2)

    return bp_v2